package com.cos.demo4.impl;

import com.cos.demo2.entity.User;
import com.cos.demo4.UserServices;

import java.util.List;

/**
 * @author: COS
 * @time: 2021/5/17 17:34
 * @description:
 */
public class UserServicesImpl implements UserServices {


    @Override
    public void getUser() {
        System.out.println("getUser");

    }

    @Override
    public User getUserById(int id) {
        System.out.println("getUserById");
        return null;
    }

    @Override
    public List<User> getUserById(int id, String username) {
        System.out.println("getUserById");
        return null;
    }

    @Override
    public int addUser(User u) {
        System.out.println("addUser");
        return 0;
    }

    @Override
    public void updateUser(User u) {
        System.out.println("updateUser");

    }

    @Override
    public int del(int id) {
        System.out.println("del");
        return 0;
    }
}
